package cn.iocoder.yudao.module.forward.controller.admin.eew.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 预警信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EewPageReqVO extends PageParam {

    @Schema(description = "消息ID", example = "18223")
    private String msgId;

    @Schema(description = "发震时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] oriTime;

    @Schema(description = "震中参考地名", example = "张三")
    private String locName;

    @Schema(description = "震级")
    private String magnitude;

    @Schema(description = "转发状态", example = "1")
    private Boolean forwardStatus;

    @Schema(description = "转发时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] forwardTime;

    @Schema(description = "信息来源服务id", example = "22924")
    private Integer sourceId;

    @Schema(description = "转发服务id", example = "10179")
    private Integer brokerId;

    @Schema(description = "接收时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}